package com.gitee.wsl.data.cursor.sample

import com.gitee.wsl.data.cursor.AbstractCursor

internal class ValueCursor<T>(
    override val current: T,
    override val next: AbstractCursor<out T>,
) : AbstractCursor<T>() {
    override val hasNext: Boolean
        get() = true

    override val isOver: Boolean
        get() = false
}
